package homework1;

class manager extends Employee {
    private double bonus;

    public double getBonus() {
        return bonus;
    }

    public void setBonus(double bonus) {
        this.bonus = bonus;
    }

    @Override
    public void work() {
        System.out.println("项目经理:"+getName()+"工号："+getId()+"工资："+getWages()+"奖金："+getBonus());
    }
}
